package com.lkj;

import cn.hutool.json.JSONUtil;

public class Main {

    public static void main(String[] args) {

//        String url = "/home/get";
//        String url = "/base/index";
//        String url = "/master/index";
        String url = "/list/index";
//
//        String param = "{\"title\":\"标题\",\"name\":\"likj\"}";
        String param = "[{\"title\":\"标题\",\"name\":\"jason\"}]";

        App app = HandleService.get(App.class);
        String res = app.getId(url,param);

        System.out.println("res:"+res);

        Home home = new Home();
        home.setName("likj");
        home.setTitle("标题jj");
        String s = JSONUtil.toJsonStr(home);
        System.out.println("sssss:"+s
        );
    }
}
